package com.gmp.rooms.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gmp.rooms.domain.EquipmentInspection;
import com.gmp.rooms.domain.vo.EquipmentInspectionQueryVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 设备巡检记录Mapper接口
 *
 * @author Koi
 * @date 2025-08-02
 */
public interface EquipmentInspectionMapper extends BaseMapper<EquipmentInspection> {
    /**
     * 查询设备巡检记录
     *
     * @param id 设备巡检记录主键
     * @return 设备巡检记录
     */
    public EquipmentInspection selectEquipmentInspectionById(String id);

    /**
     * 查询设备巡检记录列表
     *
     * @param equipmentInspection 设备巡检记录
     * @return 设备巡检记录集合
     */
    public List<EquipmentInspection> selectEquipmentInspectionList(EquipmentInspection equipmentInspection);

    /**
     * 新增设备巡检记录
     *
     * @param equipmentInspection 设备巡检记录
     * @return 结果
     */
    public int insertEquipmentInspection(EquipmentInspection equipmentInspection);

    /**
     * 修改设备巡检记录
     *
     * @param equipmentInspection 设备巡检记录
     * @return 结果
     */
    public int updateEquipmentInspection(EquipmentInspection equipmentInspection);

    /**
     * 删除设备巡检记录
     *
     * @param id 设备巡检记录主键
     * @return 结果
     */
    public int deleteEquipmentInspectionById(String id);

    /**
     * 批量删除设备巡检记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEquipmentInspectionByIds(String[] ids);



}
